import Taro,{Component} from '@tarojs/taro'
import {View} from '@tarojs/components'
import cfStore from '../../store/modules/cfStore'

class Csyg extends Component {
  constructor() {
    super(cfStore)
  }
  // 1- 判断有没有车主卡
  // 2- 有车主卡绑定车主卡,没有就进入选择车辆品牌的页面
  componentWillMount () { 
    console.log(this.props)
    const {fetchCarBrand} = this.props
    fetchCarBrand().then(res => {
      console.log(res)
    })
  }
  render(){
    return (
    <View className='csyg'>
      
    </View>
    )
  }
}
Csyg.config = {
  navigationBarTitleText: '车损预估'
}
export default Csyg